package com.spyx.payment.service;

import com.atyx.spyx.enums.PaymentType;
import com.atyx.spyx.model.order.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface PaymentInfoService extends IService<PaymentInfo> {
    PaymentInfo getPaymentInfoByOrderNo(String orderNo, PaymentType weixin);

    PaymentInfo savePaymentInfo(String orderNo, PaymentType weixin);

    void paySuccess(String orderNo, PaymentType weixin, Map resultMap);
}
